<?php 	
	//前台数据库新闻的遍历
	include_once("./head.php");
	include_once("./commonality.php");
	$nid=$_GET['nid'];
	$sql="select * from news where nid ='$nid'";
	$frt=mysql_query($sql);
	while ($list=mysql_fetch_assoc($frt)) {
	    $new[]=$list;
	}
 ?>
 <!DOCTYPE html>
 <html>
 <head>
 	<title></title>
 </head>
 <style type="text/css">
	.ne{
		width:90%;		
		/*border:1px solid red;*/
		margin-left:50px;
		text-align:center;

	}
</style>
 <body>
 	<div class="ne">
 		<?php foreach ($new as $value): ?>
 			<span><img src="./uploads1/<?= $value['nimg']?>" width="95%"></span><br>
 			<font size="6px" color="red"><span><?= $value['ntitle']?></span></font><br>
 			<span>发稿时间：<?= $value['ntime']?> 来源： 央视新闻客户端</span><br>
 			<font size="5px"><span><?= $value['ndescp']?></span></font>		
		<?php endforeach ?>
	</div>
	<?php include_once("./foter.php");?>
 </body>
 </html>